package com.common.snowflake;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 雪花ID配置
 *
 */
@Data
@AllArgsConstructor
public class SnowflakeIdConfig {

    /**
     * 机器ID
     */
    private int workerId;

    /**
     * 数据中心ID
     */
    private int dataCenterId;
}